<meta charset="utf-8" />	

<form class="form-horizontal" role="form"  onsubmit="return submitForm(this);"
 action="" id="_form">
	<!-- #section:elements.form -->
	<br/>
	<!-- 
	 * Input属性说明:
	 * validate="true"  是否需要验证字段
	 * msg="错误时提示信息"        
	 * datatype="数据类型"
	-->
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">限额记录ID： </label>
		<div class="col-sm-9">
		<input type="text" id="limitId" name="limitId"
				class="col-xs-10 col-sm-7" disabled="disabled" />
		</div>
	</div>
	
		<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">限额类型： </label>
		<div class="col-sm-9">
		<select 
		rel="obj.LIMIT_TYPE"
						location="local" 
		 name="limitType" 
		 id="limitType" 
		
		  style="width: 258px;vertical-align:middle;" disabled="disabled">
						 </select>	
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">商户级别： </label>
		<div class="col-sm-9">

			<input type="text" id="limitCustLevel" name="limitCustLevel"
				class="col-xs-10 col-sm-7" disabled="disabled" />
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 用户编号： </label>
		<div class="col-sm-9">

			<input type="text" id="limitCustId" name="limitCustId"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 业务类型 ： </label>
		<div class="col-sm-9">
		<select 
		rel="obj.LIMIT_BUS_TYPE"
						location="local" 
		 name="limitBusType" 
		 id="limitBusType" 
		 
		  style="width: 258px;vertical-align:middle;" disabled="disabled">
						 </select>	
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 子业务类型： </label>
		<div class="col-sm-9">
		<select 
		rel="obj.LIMIT_SUB_BUS"
						location="local" 
		 name="limitSubBus" 
		 id="limitSubBus" 
		
		  style="width: 258px;vertical-align:middle;" disabled="disabled">
						 </select>	
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 支付方式： </label>
		<div class="col-sm-9">
		<select 
		rel="obj.LIMIT_PAY_WAY"
						location="local" 
		 name="limitPayWay" 
		 id="limitPayWay" 
		
		  style="width: 258px;vertical-align:middle;" disabled="disabled">
						 </select>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 单笔最小金额(元)： </label>
		<div class="col-sm-3">
			<input type="text" id="limitMinAmt" name="limitMinAmt" init-format="cent2Yuan('{value}')"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 单笔最大金额(元)： </label>
		<div class="col-sm-3">

			<input type="text" id="limitMaxAmt" name="limitMaxAmt"  init-format="cent2Yuan('{value}')"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 每日次数： </label>
		<div class="col-sm-3">

			<input type="text" id="limitDayTimes" name="limitDayTimes"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 每日金额(元)： </label>
		<div class="col-sm-3">

			<input type="text" id="limitDayAmt" name="limitDayAmt" init-format="cent2Yuan('{value}')"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 每月交易次数： </label>
		<div class="col-sm-3">

			<input type="text" id="limitMonthTimes" name="limitMonthTimes" 
				class="col-xs-10 col-sm-7" disabled="disabled" />
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 每月交易金额(元)： </label>
		<div class="col-sm-3">

			<input type="text" id="limitMonthAmt" name="limitMonthAmt" init-format="cent2Yuan('{value}')"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 每年交易次数： </label>
		<div class="col-sm-3">

			<input type="text" id="limitYearTimes" name="limitYearTimes"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right" 
			for="form-field-1"> 每年交易金额(元)： </label>
		<div class="col-sm-3">

			<input type="text" id="limitYearAmt" name="limitYearAmt" init-format="cent2Yuan('{value}')"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 生效开始日期： </label>
		<div class="col-sm-3">

			<input type="text" id="limitStartDate" name="limitStartDate"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 生效结束日期： </label>
		<div class="col-sm-3">

			<input type="text" id="limitEndDate" name="limitEndDate"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 启用状态： </label>
		<div class="col-sm-9">
		
		<input name="isUse" id="isUse" class="ace ace-switch ace-switch-4 btn-empty" value="0" type="checkbox" disabled="disabled" /> 
		<span class="lbl" data-lbl="禁用 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;启用"></span>
		
		</div>
	</div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 创建人： </label>
		<div class="col-sm-3">

			<input type="text" id="createName" name="createName"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 创建日期： </label>
		<div class="col-sm-3">

			<input type="text" id="createDate" name="createDate"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	 </div>

	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 创建时间： </label>
		<div class="col-sm-3">

			<input type="text" id="createDatetime" name="createDatetime"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 修改人： </label>
		<div class="col-sm-3">

			<input type="text" id="updateName" name="updateName"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	 </div>
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 修改日期： </label>
		<div class="col-sm-3">
          
			<input type="text" id="updateDate" name="updateDate"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
		
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1"> 修改时间： </label>
		<div class="col-sm-3">

			<input type="text" id="updateDatetime" name="updateDatetime"
				class="col-xs-10 col-sm-7"  disabled="disabled"/>
		</div>
	 </div>
	
	
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right"
			for="form-field-1">描述信息： </label>
		<div class="col-sm-9">
          <textarea rows="" cols="" class="col-xs-10 col-sm-7" id="limitDesc" name="limitDesc" disabled="disabled"></textarea>
			
		</div>
	</div>
	<div class="form-actions align-right  form-button-box" style="margin-top: 10px">
			<button class="btn" type="button" onclick="javascript:dialog.close(this);">
				 关闭
			</button>
		</div>
	
</form>
<script type="text/javascript">

function submitForm(obj){
	//自定义匿名回调函数。 系统默认回调函数：dialogAjaxDone
	return validateCallback(obj,function(result){
		if(result.rspcod== 200){
			msg.alert("提示", result.rspmsg, 'correct');
			$("#grid-table").trigger("reloadGrid");
			dialog.close(obj);
		}else{
			msg.alert("错误", result.rspmsg + " 错误代码："
					+ result.rspcod, 'error');
		}
	});
}

</script>
